<script setup>
	import db from './util/jcdb';
	import {onLaunch} from '@dcloudio/uni-app';
	onLaunch(async ()=>{
		await db.createDatabase();
		
		
		let strSql="select * from android_metadata";
		let result= await db.selectSql(strSql);
		console.log(result);
		//console.log([result]);
		//console.log([{locale:result}]);
		
		strSql="select * from company "
		result= await db.selectSql(strSql);
		console.log(result);
	});
	
	
</script>

<style lang="scss">
	/* #ifndef APP-NVUE */
	@import "@/static/iconfont.css";
	/* #endif */
	@import '@/uni_modules/uv-ui-tools/index.scss';
	@import "@/common/demo.scss";
	/*每个页面公共css */
	.uv-page {
		padding: 15px 15px 40px;    
	}   
	.uv-demo-block {
		margin-bottom: 22px;
	}
	.uv-demo-block__title {
		font-size: 14px;
		color: #8f9ca2;
		margin-bottom: 8px;
	}
</style>